package com.geekai.chat.service;

import com.geekai.chat.dto.ChatRequest;
import com.geekai.chat.dto.ChatResponse;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.util.List;

public interface AiChatService {

    ChatResponse chat(ChatRequest chatRequest, String username);

    SseEmitter streamChat(ChatRequest chatRequest, String username);

    String generateTitle(String content);
}